package com.turing.post.antimoney.util;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 预警信息表
 * 
 * @author 李治
 * 
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "ALARMINFO")
public class AlarmInfo implements Serializable {
	private BigInteger alarmInfoId;
	private BigInteger alarmRuleId;
	private String issueCompanyNo;
	private Date alarmTime;
	private String branchNo;
	private String branchName;
	private String riskCustomName;
	private String alarmReason;
	private String dealStatus;
	private BigInteger dealOperId;
	private Date dealTime;
	private String dealResult;
	private String normalOrSuspicious;
	private String remark;
	
	/**
	 * 预警信息处理状态 0 – 未处理
	 */
	public static final String ALARMINFO_DEALSTATUS_UNTREATED = "0";

	/**
	 * 预警信息处理状态 1 – 已处理
	 */
	public static final String ALARMINFO_DEALSTATUS_PROCESSED = "1";
	
	/**
	 * 预警信息可疑交易判断 0 – 正常
	 */
	public static final String ALARMINFO_NORMALORSUSPICIOUS_NORMAL = "0";

	/**
	 * 预警信息可疑交易判断 1 – 可疑
	 */
	public static final String ALARMINFO_NORMALORSUSPICIOUS_SUSPICIOUS = "1";
	
	@Id
	@Column(name = "ALARMINFOID", nullable = false)
	public BigInteger getAlarmInfoId() {
		return alarmInfoId;
	}

	public void setAlarmInfoId(BigInteger alarmInfoId) {
		this.alarmInfoId = alarmInfoId;
	}

	@Column(name = "ALARMRULEID", nullable = false)
	public BigInteger getAlarmRuleId() {
		return alarmRuleId;
	}

	public void setAlarmRuleId(BigInteger alarmRuleId) {
		this.alarmRuleId = alarmRuleId;
	}

	@Column(name = "ISSUECOMPANYNO", nullable = false)
	public String getIssueCompanyNo() {
		return issueCompanyNo;
	}

	public void setIssueCompanyNo(String issueCompanyNo) {
		this.issueCompanyNo = issueCompanyNo;
	}

	@Column(name = "ALARMTIME", nullable = false)
	public Date getAlarmTime() {
		return alarmTime;
	}

	public void setAlarmTime(Date alarmTime) {
		this.alarmTime = alarmTime;
	}

	@Column(name = "BRANCHNO", nullable = false)
	public String getBranchNo() {
		return branchNo;
	}

	public void setBranchNo(String branchNo) {
		this.branchNo = branchNo;
	}

	@Column(name = "BRANCHNAME", nullable = false)
	public String getBranchName() {
		return branchName;
	}

	public void setBranchName(String branchName) {
		this.branchName = branchName;
	}

	@Column(name = "RISKCUSTOMNAME", nullable = false)
	public String getRiskCustomName() {
		return riskCustomName;
	}

	public void setRiskCustomName(String riskCustomName) {
		this.riskCustomName = riskCustomName;
	}

	@Column(name = "ALARMREASON", nullable = false)
	public String getAlarmReason() {
		return alarmReason;
	}

	public void setAlarmReason(String alarmReason) {
		this.alarmReason = alarmReason;
	}

	@Column(name = "DEALSTATUS", nullable = false)
	public String getDealStatus() {
		return dealStatus;
	}

	public void setDealStatus(String dealStatus) {
		this.dealStatus = dealStatus;
	}

	@Column(name = "DEALOPERID")
	public BigInteger getDealOperId() {
		return dealOperId;
	}

	public void setDealOperId(BigInteger dealOperId) {
		this.dealOperId = dealOperId;
	}

	@Column(name = "DEALTIME")
	public Date getDealTime() {
		return dealTime;
	}

	public void setDealTime(Date dealTime) {
		this.dealTime = dealTime;
	}

	@Column(name = "DEALRESULT")
	public String getDealResult() {
		return dealResult;
	}

	public void setDealResult(String dealResult) {
		this.dealResult = dealResult;
	}

	@Column(name = "NORMALORSUSPICIOUS")
	public String getNormalOrSuspicious() {
		return normalOrSuspicious;
	}

	public void setNormalOrSuspicious(String normalOrSuspicious) {
		this.normalOrSuspicious = normalOrSuspicious;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
